﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace SerieSpotter.Models
{
    public class Comment
    {
        [Key]
        public int Id { get; set; }

        public int EpisodeId { get; set; }

        public int UserProfileUserId { get; set; }

        public virtual UserProfile UserProfile { get; set; } //welke user?

        public virtual Episode Episode { get; set; } //op welke episode?
       // [Required]           om te deleten moet dit afstaan
      //  [StringLength(100)]
        public string commentaar { get; set; } // mag niet comment zijn anders problemen create
        public DateTime Date { get; set; }
        public int RepliedTo { get; set; }

        
    }
}